package com.pkk.components.util.spring.scan;

import java.lang.annotation.Annotation;
import java.util.Map;
import lombok.Data;

/**
 * @description:KeepAnnotation类来保存注解信息
 * @author: peikunkun
 * @create: 2019-06-15 17:51
 **/
@Data
public class KeepAnnotation {

  private Class classzz;

  private Annotation classzzAnnotation;

  private Map<String, Annotation> methodAnnotation;


  public KeepAnnotation() {
  }

  public KeepAnnotation(Class classzz) {
    this.classzz = classzz;
  }

  public KeepAnnotation(Class classzz, Annotation classzzAnnotation,
      Map<String, Annotation> methodAnnotation) {
    this.classzz = classzz;
    this.classzzAnnotation = classzzAnnotation;
    this.methodAnnotation = methodAnnotation;
  }
}